package com.ruoyi.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 领料返回对象 revoke_pick
 * 
 * @author LongAndHao
 * @date 2023-05-16
 */
public class RevokePick extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 车间任务ID */
    @Excel(name = "车间任务ID")
    private Long wkspTaskId;

    /** 车间任务编码 */
    @Excel(name = "车间任务编码")
    private String wkspCode;

    /** 领料编码 */
    @Excel(name = "领料编码")
    private String pickCode;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String mtrCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String mtrName;

    /** 撤回数量 */
    @Excel(name = "撤回数量")
    private Long revokeQuantity;

    /** 状态 0 - 未入库 1 - 已入库 */
    @Excel(name = "状态")
    private Long status;

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWkspTaskId(Long wkspTaskId) 
    {
        this.wkspTaskId = wkspTaskId;
    }

    public Long getWkspTaskId() 
    {
        return wkspTaskId;
    }
    public void setWkspCode(String wkspCode) 
    {
        this.wkspCode = wkspCode;
    }

    public String getWkspCode() 
    {
        return wkspCode;
    }
    public void setPickCode(String pickCode) 
    {
        this.pickCode = pickCode;
    }

    public String getPickCode() 
    {
        return pickCode;
    }
    public void setMtrCode(String mtrCode) 
    {
        this.mtrCode = mtrCode;
    }

    public String getMtrCode() 
    {
        return mtrCode;
    }
    public void setMtrName(String mtrName) 
    {
        this.mtrName = mtrName;
    }

    public String getMtrName() 
    {
        return mtrName;
    }
    public void setRevokeQuantity(Long revokeQuantity) 
    {
        this.revokeQuantity = revokeQuantity;
    }

    public Long getRevokeQuantity() 
    {
        return revokeQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wkspTaskId", getWkspTaskId())
            .append("wkspCode", getWkspCode())
            .append("pickCode", getPickCode())
            .append("mtrCode", getMtrCode())
            .append("mtrName", getMtrName())
            .append("revokeQuantity", getRevokeQuantity())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
